﻿using System;
using System.Globalization;
using iPhOwa.Web.Properties;

namespace iPhOwa.Web
{
	/// <summary>
	/// Error page
	/// </summary>
	public partial class Error : iPhOwaPage
	{
		/// <summary>
		/// Determines if we need to auth for this page.
		/// </summary>
		protected override bool IsSecurePage
		{
			get { return false; }
		}

		/// <summary>
		/// Page load event.
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		protected void Page_Load(object sender, EventArgs e)
		{
			Title = string.Format(CultureInfo.CurrentUICulture, "Error - {0}", Settings.Default.Title);
		}
	}
}